package com.mkyong;

import com.mkyong.customer.bo.CustomerBo;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;

/**
 * Created by wzq on 14-11-18.
 */
public class Main {
    public static void main(String[] args) {
        ApplicationContext appContext = new ClassPathXmlApplicationContext("spring-aop.xml");
        CustomerBo customer = (CustomerBo) appContext.getBean("customerBo");
        customer.addCustomer();
//        customer.addCustomerReturnValue();
//        customer.addCustomerAround("aa");
    }
}
